home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 09 - 1993 / 09.10 Oct 93 / Fixed-Point Math / profiler.output < prev   
Encoding:
Text File  |  1993-07-23  |  3.4 KB  |  69 lines  |  [TEXT/????]

  1. calling the benchmark function on a double matrix...
  2. identity matrix:
  3.          1         0         0         0
  4.          0         1         0         0
  5.          0         0         1         0
  6.          0         0         0         1
  7. rotation matrix:
  8.   0.999391 -0.034899         0         0
  9.   0.034899  0.999391         0         0
  10.          0         0         1         0
  11.          0         0         0         1
  12. result of 1000 multiplications:
  13.  -0.939703  0.341992         0         0
  14.  -0.341992 -0.939703         0         0
  15.          0         0         1         0
  16.          0         0         0         1
  17. duration: 12 seconds
  18. calling the benchmark function on a fix matrix...
  19. identity matrix:
  20.          1         0         0         0
  21.          0         1         0         0
  22.          0         0         1         0
  23.          0         0         0         1
  24. rotation matrix:
  25.    0.99939 -0.034897         0         0
  26.   0.034897   0.99939         0         0
  27.          0         0         1         0
  28.          0         0         0         1
  29.  
  30. Function                          Minimum  Maximum  Average    %   Entries
  31.  
  32. matrix<fix>::operator *                0        3        0    28     1000
  33. operator *                             0        1        0    33    64000
  34. fix::operator +=                       0        1        0    16    64000
  35. fix::rangecheck                        0        1        0     8    64000
  36. operator +                             0        1        0    11    64000
  37. matrix<fix>::__PT6matrix3fix           0        1        0     0     1000
  38. fix::fix                               0        1        0     0     1000
  39. fix::fix                               0        1        0     2    16000
  40. result of 1000 multiplications:
  41.   -0.93808  0.3387153.85743e-a453.85743e-a45
  42.  -0.338715  -0.938083.85743e-a453.85743e-a45
  43. 3.85743e-a453.85743e-a45         13.85743e-a45
  44. 3.85743e-a453.85743e-a453.85743e-a45         1
  45. duration: 40 seconds
  46.  
  47. Function                          Minimum  Maximum  Average    %   Entries
  48.  
  49. SMANIP<int>::__PT6SMANIPi              0        0        0     0       16
  50. fix::fix                               0        1        0     0     1000
  51. fix::fix                               0        1        0     1    16000
  52. fix::operator +=                       0        1        0    11    64000
  53. fix::operator ldouble                  0        0        0     0       16
  54. fix::rangecheck                        0        1        0     5    64000
  55. matrix<fix>::__PT6matrix3fix           0        1        0     0     1000
  56. matrix<fix>::operator ()               0        0        0     0       16
  57. matrix<fix>::operator *                0        3        0    19     1000
  58. operator *                             0        1        0    23    64000
  59. operator +                             0        1        0     7    64000
  60. operator <<                            0        0        0     0        1
  61. operator <<                            0        0        0     0       16
  62. operator <<                            0        0        0     0       16
  63. ostream::operator <<                   0        0        0     0        4
  64. ostream::operator <<                   0        0        0     0        2
  65. ostream::operator <<                   0        0        0     0        1
  66. ostream::operator <<                   0        0        0     0        1
  67. ostream::operator <<                   0       45       27    30       16
  68. setw                                   0        1        0     0       16
  69.